/*
 * Copyright 2021-2030 itbox.cn All right reserved. This software is the confidential and proprietary information
 * of itbox.cn ("Confidential Information"). You shall not disclose such Confidential Information and shall use it
 * only in accordance with the terms of the license agreement you entered into with itbox.cn.
 */
package cn.itbox.example.model.request;

import cn.itbox.uap.domain.itf.Command;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @BelongProject springboot-study
 * @BelongPackage cn.itbox.example.application.model.request.role
 * @Description TODO
 * @ClassName BaseRoleCommand
 * @Author xingc
 * @Date 2023/11/26 22:21
 * @Version 1.0.0
 */
@Setter
@Getter
public class BaseRoleRequest implements Command, Serializable {
    /**
     * 角色名称
     * */
    @NotNull(message = "{role.name.is.null}")
    private String name;

    /**
     * 角色编码
     * */
    private String code;
}
